package com.panfeng.xcloud.boss.provider.assets.dto.request;

import com.panfeng.xcloud.common.core.page.PageRequest;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(value = "查询相关资产请求")
public class QueryWalletAssetsPageReqDTO extends PageRequest {

    @ApiModelProperty("id")
    private Integer id;

    @ApiModelProperty("用户id")
    private String userId;

    @ApiModelProperty("币种名称")
    private String coin;

    @ApiModelProperty("金额范围上限")
    private BigDecimal amountMax;

    @ApiModelProperty("金额范围下限")
    private BigDecimal amountMin;

    @ApiModelProperty("地址")
    private String address;

    @ApiModelProperty("资产类型()")
    private Integer assetType;

    @ApiModelProperty("备注")
    private String note;

    @ApiModelProperty("创建时间,查询起始时间")
    private Date createTimeStart;

    @ApiModelProperty("创建时间,查询截止时间")
    private Date createTimeEnd;

    @ApiModelProperty("更新时间,查询起始时间")
    private Date modifyTimeStart;

    @ApiModelProperty("更新时间,查询截止时间")
    private Date modifyTimeEnd;

    @ApiModelProperty("排序属性 金额:1 创建时间:2 更新时间:3")
    private String sortAttribute;

    @ApiModelProperty("排序类型 升序:ascend 降序:descend")
    private String sortType;
}
